import java.util.*;

public class ModelListenerIterator 
{ 
	private Enumeration<ModelListener> enumer;

	public ModelListenerIterator(Vector<ModelListener> list) 
	{
		enumer = list.elements();
	}
  
	public boolean hasNext() 
	{
		return enumer.hasMoreElements();
	}

	public ModelListener next() 
	{
		return (ModelListener) enumer.nextElement();
	}
	// END OF CLASS
}